package com.guangzi.service;



import com.guangzi.entity.Role;

import java.util.List;


public interface RoleService extends BaseService {
    List<String> listRoles(String username);


    void addRole(Role role);
    void updateRole(Role role);
    void updateStatus(Long roleId,Integer status);

    //通过账号查询用户的角色集合
    List<Role> listByAccount(String phone);

}
